var oFix = document.getElementsByClassName('fix')[0];

window.onscroll = function () {
    if (window.pageYOffset <=100) {
        oFix.style.display = 'none';
    }else {
        oFix.style.display = 'block';
    }
}